package top.pengdong.pictureShare.userAuth.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Data;

/**
 * 用户关注表
 * 
 * @author chenshun
 * @email pengshi12138@outlook.com
 * @date 2022-05-11 21:02:22
 */
@Data
@TableName("t_user_relation")
public class TUserRelationEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 唯一主键
	 */
	@JsonIgnore
	@TableId
	private Long id;
	/**
	 * 用户id
	 */
	private Long userId;
	/**
	 * 被关注者id
	 */
	private Long followId;
	/**
	 * 被关注用户自我介绍
	 */
	@TableField(exist = false)
	private String description;

	@TableField(exist = false)
	private String toNickname;
	@TableField(exist = false)
	private String toUserAvatar;
	/**
	 * 访问次数
	 */
	private Integer visitCount;
	/**
	 * 启用状态
	 */
	@JsonIgnore
	private Integer status;
	/**
	 * 更新时间
	 */
	@JsonIgnore
	private Date updateTime;
	/**
	 * 创建时间
	 */
	private Date createTime;

}
